//
//  FIAsiConfig.m
//  Magpie
//
//  Created by 100TV protocal on 12-11-14.
//
//

#import "FIAsiConfig.h"
#import "ASIHTTPRequest.h"

@implementation FIAsiConfig

@synthesize httpString;

- (void)setHttpString:(NSString *)httpString
{
    NSURL *url = [NSURL URLWithString:@"http://allseeing-i.com"];
    
    ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
    [request setDelegate:self];
    [request startAsynchronous];
}


- (void)requestFinished:(ASIHTTPRequest *)request
{
//    NSString * responseString = [request responseString];
//    NSData *responseData = [request responseData];
}

- (void)requestFailed:(ASIHTTPRequest *)request
{
//    NSError * error = [request error];
}

- (void)requestStarted:(ASIHTTPRequest *)request
{
    
}
- (void)request:(ASIHTTPRequest *)request didReceiveResponseHeaders:(NSDictionary *)responseHeaders
{
    
}
- (void)request:(ASIHTTPRequest *)request willRedirectToURL:(NSURL *)newURL
{
    
}
- (void)requestRedirected:(ASIHTTPRequest *)request
{
    
}

@end
